package com.yaolonga.dc.core;

/**
 * @Author: yaolong
 * @CreateTime: 2024-10-20  17:14
 * @Description: 执行器类型
 * @Version: 1.0
 */
public interface ExecutorType {
    static ExecutorType of(String type) {
        return () -> type;
    }

    String getId();

    default String getName() {
        return getId();
    }
}
